package com.wetao.testrxjava.dagger;

import javax.inject.Named;
import javax.inject.Singleton;

import dagger.Module;
import dagger.Provides;

//第一种方法
@Module
public class Dagger2ActivityModule {
    @Provides
    @ScopeDagger1
    public Cloth getRedCloth_q() {
        Cloth cloth = new Cloth();
        cloth.setColor("红色-3q");
        return cloth;
    }




}
